#ifndef _INTERF_CONFIG_H_
#define _INTERF_CONFIG_H_

struct Interface {
	e::net::Address bind;
	e::String key;
};

struct IConfig
	: public IBase
{
	static IConfigPtr New(const e::String& path);

	virtual bool tryReload() = 0;

	virtual int getLogLevel() const = 0;
	virtual e::net::Address getListenAddr() const = 0;
	virtual e::net::Address getFreeswitchAddr() const = 0;
	
	virtual e::String getAccountDB() const = 0;
};

#endif